package com.ruoyi.shop.member.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员喜好对象 shop_member_favor
 * 
 * @author xuxiang
 * @date 2023-06-11
 */
public class ShopMemberFavor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 喜好ID */
    private String favorId;

    /** 喜好类型(收藏collect,点赞like) */
    @Excel(name = "喜好类型")
    private String favorType;

    /** 会员ID */
    @Excel(name = "会员ID")
    private Long memberId;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long goodsId;

    /** 商品类型(秒杀,团购) */
    @Excel(name = "商品类型")
    private String goodsType;

    /** skuID */
    @Excel(name = "skuID")
    private Long skuId;

    /** 门店ID */
    @Excel(name = "门店ID")
    private Long storeId;

    /** 收藏状态(收藏0,取消1) */
    @Excel(name = "收藏状态(收藏0,取消1)")
    private Integer status;
    
    /** 商品名称 */
	private String goodsName;
	
	/** 商品标题 */
	private String title;
	
	/** 商品价格 */
	private BigDecimal price;
	
	/** 市场价格 */
	private BigDecimal marketPrice;
	
	/** 主题图 */
	private String image;
	
	/** 销量 */
	private String sales;
    

    public void setFavorId(String favorId) 
    {
        this.favorId = favorId;
    }

    public String getFavorId() 
    {
        return favorId;
    }
    public void setFavorType(String favorType) 
    {
        this.favorType = favorType;
    }

    public String getFavorType() 
    {
        return favorType;
    }
    public void setMemberId(Long memberId) 
    {
        this.memberId = memberId;
    }

    public Long getMemberId() 
    {
        return memberId;
    }
    public void setGoodsId(Long goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsType(String goodsType) 
    {
        this.goodsType = goodsType;
    }

    public String getGoodsType() 
    {
        return goodsType;
    }
    public void setSkuId(Long skuId) 
    {
        this.skuId = skuId;
    }

    public Long getSkuId() 
    {
        return skuId;
    }
    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    
    public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getSales() {
		return sales;
	}

	public void setSales(String sales) {
		this.sales = sales;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("favorId", getFavorId())
            .append("favorType", getFavorType())
            .append("memberId", getMemberId())
            .append("goodsId", getGoodsId())
            .append("goodsType", getGoodsType())
            .append("skuId", getSkuId())
            .append("storeId", getStoreId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
